/****************************************************************************
* @file    GPIO/IOToggle/main.c 
* @author  MCD Application Team
* @version V3.5.0
* @date    08-April-2011
* @brief   Main program body.
*****************************************************************************/ 

#include "SysTick.h"
#include "LedDriver.h"
#include "Sensor.h"
#include "SIM900App.h"
#include "System.h"


int main(void)
{
    // initialize system
    cSysTick::InitReset();
    cLedDriver::InitReset();
    cSensor::InitReset();
    cSIM900App::InitReset();
    cSystem::InitReset();

    // run main loop
    while (1)
    {
        cLedDriver::RunOne();
        cSensor::RunOne();
        cSIM900App::RunOne();
        cSystem::RunOne();
    }
}
